For those who are interested here is a solution: https://stackoverflow.com/questions/68835388/i-cant-add-systemextralarge-family-in-widgetconfiguration-for-ios-15
Post
Replies
Boosts
Views
Activity
Hi!
I have run into the same problem of including if #available(iOS 15, *) in the WidgetConfiguration.
Have you found a solution?
The problem has already been resolved.
In Signing & Capabilities I use a different package identifier than iOS. I have done a test exporting the app with the same identifier as in iOS and iCloud has worked.
But I need my app to keep the bundle identifier different from iOS in order to continue supporting my users.
I have the same problem. I will also send a bug report.
Hours later the same problem continued. I decided to submit the app for review again.
Awesome, Mark! :D
Marking the WidgetKit.framework as "optional" did the trick!
Thanks, thanks a lot
Edit: I try this code on Xcode 11 and work!
#if canImport(WidgetKit)
	 WidgetCenter.shared.reloadTimelines(ofKind: "com.literautas.StoryPlanner.ProgressWidget")
#endif
But it crashes on Xcode 12 beta 4
Edit 2: Crashes also on Xcode 12 beta 6
I think I have the same problem as you.I have several UITextview to write and the text of several of them is used to display as attributedString in a read-only UITextView.As you type in an UITextView it sometimes crashes apparently randomly. It does not happen with all users nor is there a way to reproduce the crash.I am also not clear what the crash can cause because no method of my app appears in the crash log other than main. In the iOS version this crash has never occurred and they share the same code. So I have a feeling it might be a Mac Catalyst bug.
I also use textViewDidChangeSelection to check the selectedRange.If you want I can put my crash logs in case it helps.Bart.